package com.example.eyepetizer2;
//import android.os.Bundle;
//
//import org.devio.flutter.splashscreen.SplashScreen;
//
//import io.flutter.app.FlutterActivity;
//import io.flutter.plugins.GeneratedPluginRegistrant;

import android.os.Bundle;

import androidx.annotation.Nullable;

import io.flutter.embedding.android.FlutterActivity;//很重要

import org.devio.flutter.splashscreen.SplashScreen;//很重要

public class MainActivity extends FlutterActivity  {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        SplashScreen.show(this, true);// here
        super.onCreate(savedInstanceState);
    }
}
